package com.zxl.support;

/**
 * @author zhouhq
 * @Description 常量
 */
public class Constants {
    public static final String COL_TYPE_CODE="0";//字段分类
    public static final String SENTITY_TYPE_CODE="1";//字段敏感度
    public static final String KETTLE_LOG_PARENT_PATH = "logs"; //kettle日志存储父目录
    public static final String KETTLE_LOG_SUFFIX = ".log"; //kettle日志存储父目录
    public static final String KETTLE_LOG_TAR_PATH = "zips"; //kettle压缩日志存储目录
    public static final String KETTLE_LOG_JOBS_PATH = "jobs";//kettle任务日志存储目录
    public static final String DOWNLOAD = "/download/";//kettle任务压缩文件请求路径
    public static final String KETTLE_LOG_PREFIX = "pdi_";//kettle任务日志前缀
    public static final String YES = "1"; // 是
    public static final String NO = "0"; // 否
    public static final Boolean ISDELETED_FALSE = Boolean.FALSE; // 状态常量0,正常
    public static final Boolean ISDELETED_TRUE = Boolean.TRUE; // 状态常量1,删除
    public static final String ISDELETED_0 = "0"; // 状态常量0,正常
    public static final String ISDELETED_1 = "1"; // 状态常量1,删除
    public static final Integer ISDELETED_INT_0 = 0; // 状态常量0,正常
    public static final Integer ISDELETED_INT_1 = 1; // 状态常量1,删除
    public static final Integer ISSUCCESS_0 = 0; // 状态常量0,导入失败
    public static final Integer ISSUCCESS_1 = 1; // 状态常量1,导入成功
    public static final String UPLOAD_STATE_0 = "0"; // 状态常量0,导入失败
    public static final String UPLOAD_STATE_1 = "1"; // 状态常量1,导入成功
    public static final String DATABASE_DATA_TYPE_0 = "0"; // 数据库的数据类型0,表示不能有长度和宽度
    public static final String DATABASE_DATA_TYPE_1 = "1"; // 数据库的数据类型1,表示只能有宽度
    public static final String DATABASE_DATA_TYPE_2 = "2"; // 数据库的数据类型2,表示只能有宽度和精度
    public static final String DATABASE_DATA_TYPE_10 = "10"; // 有长度或者没有
    public static final String DATABASE_DATA_TYPE_21 = "21"; // 数据库的数据类型21,表示精度可选
    public static final String DATABASE_DATA_TYPE_210 = "210"; // 有没有长度,精度都行
    public static final String NORMAL = "正常"; // 数据正常
    public static final String UPLOAD_DATA_NORMAL_0 = "0"; // excel上传数据正常数据正常
    public static final String REPEAT_NAME = "值重复"; // 上传数据与数据库中值重复
    public static final String REPEAT_IDENTIFIER = "标识符重复"; // 上传数据与数据库中值重复
    public static final String REPEAT_INNERIDENTIFIER = "内部标识符重复"; // 上传数据与数据库中值重复
    public static final String ILLEGAL_INNERIDENTIFIER = "非法标识符"; // 代码集标识符
    public static final String CODESET_PATH = "codeset/upload"; // 代码集模块路径(模块名+业务操作)
    public static final String DATAELEMENT_PATH = "dataelement/upload"; // 数据元模块路径
    public static final String SUCCESS = "sucess"; // 代码集模块路径(标识路径)
    public static final String FAILUER = "failer"; // 代码集模块路径(标识路径)
    public static final String CHECK_UPDATE_FUNCTION = "update"; // 在通用校验中加功能名称，限定校验规则
    public static final String CHECK_EXCEL_PARAM_FUNCTION = "excelParam"; // 在通用校验中加功能名称，限定校验规则
    public static final String CHECK_SAVE_FUNCTION = "save"; // 在通用校验中加功能名称，限定校验规则
    public static final String JOB_EXEC_SUCCESS = "0"; //运行成功
    public static final String JOB_EXECUTING = "1"; //运行中
    public static final String JOB_EXEC_FAIL = "2"; //运行失败
    public static final String JOB_STOP = "3"; //运行停止
    public static final String SUBMITTED = "1"; //工作流已提交
    public static final String NOT_SUBMIT = "0"; //工作流未提交
    public static final String UPDATE_NOT_SUBMIT = "2"; //工作流保存内容未提交
    public static final String FLOW_RUN_END = "0"; //工作流运行结束
    public static final String FLOW_RUNNING = "1"; //工作流运行中
    public static final String FLOW_RUN_FAIL = "2"; //工作流运行失败
    public static final String TYPE_FOLDER_1 = "1"; //离线任务：文件夹
    public static final String TYPE_FLOW_2 = "2"; //离线任务：工作流
    public static final String TYPE_JOB_3 = "3"; //离线任务：离线任务
    public static final String TYPE_FOLDER = "1"; //实时任务：文件夹
    public static final String TYPE_TASK = "2";//实时任务：任务
    public static final String TYPE_REALTIME_JOB_2 = "2"; //实时任务
    //工作流提交表运行状态
    public static final String SUBMIT_NOT_RUN_0 = "0"; //未运行
    public static final String SUBMIT_RUNNING_1 = "1"; //运行中
    public static final String SUBMIT_RUN_END_2 = "2"; //运行结束
    public static final String SUBMIT_RUN_FAIL_3 = "3"; //运行失败
    public static final int ADD = 0; // 新增操作
    public static final int UPDATE = 1; // 更新操作
    public static final int ALL = 2; // 需要新增时间和创建时间同时存在的
    // 字典表
    public static final byte CONTENT_TYPE_DICT = 0;
    // 标准表
    public static final byte CONTENT_TYPE_STD = 1;
    public static final Boolean IS_SUCCESS_TRUE = true;
    public static final Boolean IS_SUCCESS_FALSE = false;
    public static final byte IS_SUCCESS = 1;
    public static final byte NOT_SUCCESS = 0;
    public static final byte IS_DELETE_0 = 0;
    public static final byte IS_DELETE_1 = 1;
    public static final String KETTLE_STOPPED = "Stopped";
    public static final String KETTLE_RUNNING = "Running";
    public static final String KETTLE_FINISHED = "Finished";
    public static final String KETTLE_HALTED = "halted";
    public static final String KETTLE_FINISHED_CHARACTER = "已完成";
    public static final String KETTLE_FINISHED_WITH_ERRORS = "Finished (with errors)";
    public static final String KETTLE_PAUSED = "Paused";
    public static final String KETTLE_PREPARING = "Preparing executing";
    public static final String KETTLE_INITIALIZING = "Initializing";
    public static final String KETTLE_WAITING = "Waiting";
    public static final String KETTLE_HALTING = "Halting";
    public static final byte JOB_FROM_DATA_DF = 0;
    public static final byte JOB_FROM_DATA_DEV = 1;
    // 任务模板中的job
    public static final byte JOB_FROM_JOB_MODEL = 0;
    // 执行表中的job
    public static final byte JOB_FROM_JOB_TB = 1;
    public static final byte NOT_RUN = 0;
    public static final byte RUNNING = 1;
    public static final byte RUN_SUCCESS = 2;
    public static final byte RUN_FAILURE = 3;
    public static final byte UP_FLOW_FAIL = 5;
    public static final byte WAIT_UP_FLOW_TIME_OUT = 6;
    //意外终止
    public static final byte RUN_INTERRUPTED = 4;
    //手动中止
    public static final byte RUN_STOPPED = 5;
    public static final byte LAST_RUN = 1;
    public static final byte INCREMENT_1 = 1;
    public static final byte INCREMENT_0 = 0;
    public static final byte STATUS_BIT_0 = 0;
    public static final byte STATUS_BIT_1 = 1;
    public static final byte STATUS_BIT_2 = 2;
    public static final String YYYY_MM_DD = "yyyy-MM-dd";
    public static final String YYYY_MM_DD1 = "yyyy/MM/dd";
    public static final String YYYY_MMDD = "yyyyMMdd";
    public static final String YYYY_MMDD_HH = "yyyyMMddHH";
    public static final String YYYY_MMDD_HHMMSS = "yyyyMMddHHmmss";
    public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public static final String YYYY_MM_DD_HH_MM_SS1 = "yyyy/MM/dd HH:mm:ss";
    public static final String JOB_FROM_DATA_DF_KEY = "DaDfJobTask-job-[#JOBID#]-task-[#TASKID#]-seq-[#SEQ#]";
    public static final String JOB_FROM_DATA_DEV_KEY = "DaDevDataFetchTask-job-[#JOBID#]-task-[#TASKID#]-seq-[#SEQ#]";
    public static final String JOB_FROM_DATA_DEV_DB2ES_KEY = "DaDevDb2Es-job-[#JOBID#]-task-[#TASKID#]-seq-[#SEQ#]";
    public static final String JOB_ID_MODE = "#JOBID#";
    public static final String TASK_ID_MODE = "#TASKID#";
    public static final String TASK_LOG_INTERVAL = "10";
    public static final String TASK_LOG_TIMEOUTDAYS = "10";
    public static final String TASK_LOG_TABLE = "10";
    public static final String SEQ_MODE = "#SEQ#";
    public static final String UTF8 = "UTF-8";
    public static final String UNIX = "Unix";
    public static final String HTTP = "http";
    public static final String HTTP_PREFIX = "http://";
    public static final String HTTPS_PREFIX = "https://";
    public static final String HDFS_HEAD = "hdfs://";
    public static final String HDFS_XDMP = "/xdmp_";
    public static final String CURRENT_DATE = "_______CURRENT_DATE_______";
    public static final String UNDERLINE = "_";
    public static final String EQ = "=";
    public static final String SLASH = "/";
    public static final String JOB_ZIP = ".job.zip";
    public static final String JOB = ".job";
    public static final String ZIP = ".zip";
    public static final String SERVER_ID = "#SERVER_ID#";
    public static final String ID = "#ID#";
    public static final String SEPARATOR = "\t";
    public static final String SEPARATOR01 = String.valueOf((char) 1);
    public static final String STATUS_0 = "0";
    public static final String STATUS_1 = "1";
    public static final String STATUS_2 = "2";
    public static final Integer STATUS_INT_0 = 0;
    public static final Integer STATUS_INT_1 = 1;
    public static final Integer STATUS_INT_2 = 2;
    // 0运行成功,1运行中,2运行失败,3运行终止
    public static final String STATUS_SUCCESS = "0";
    public static final String STATUS_RUNNING = "1";
    public static final String STATUS_FAILURE = "2";
    public static final String STATUS_ABORT = "3";
    // 数据读取
    public static final String TASK_TYPE_1 = "1";
    // HiveSQL
    public static final String TASK_TYPE_2 = "2";
    // 质量检核
    public static final String TASK_TYPE_3 = "3";
    // Python实时任务
    public static final String TASK_TYPE_4 = "4";
    // Shell离线任务
    public static final String TASK_TYPE_5 = "5";
    // Python离线任务
    public static final String TASK_TYPE_6 = "6";
    // Sparksql离线任务
    public static final String TASK_TYPE_7 = "7";
    // 实时同步任务
    public static final String TASK_TYPE_9 = "9";
    // Es同步任务
    public static final String TASK_TYPE_10 = "10";
    // API 数据接入
    public static final String TASK_TYPE_16 = "16";
    // 数据读取
    public static final Integer TASK_TYPE_INT_1 = 1;
    // HiveSQL
    public static final Integer TASK_TYPE_INT_2 = 2;
    // 质量检核
    public static final Integer TASK_TYPE_INT_3 = 3;
    // Python实时任务
    public static final Integer TASK_TYPE_INT_4 = 4;
    // Shell离线任务
    public static final Integer TASK_TYPE_INT_5 = 5;
    // Python离线任务
    public static final Integer TASK_TYPE_INT_6 = 6;
    // Sparksql离线任务
    public static final Integer TASK_TYPE_INT_7 = 7;
    // 实时同步任务
    public static final Integer TASK_TYPE_INT_9 = 9;
    // Es同步任务
    public static final Integer TASK_TYPE_INT_10 = 10;
    // API 数据接入
    public static final Integer TASK_TYPE_INT_16 = 16;
    public static final String ZERO = "0";
    public static final String DOT = ".";
    public static final String BLANK = "";
    public static final String COMMA = ",";
    public static final String WELL = "#";
    public static final String ACCENT = "`";
    public static final String SPACE = " ";
    public static final int TIMING_SECOND = 0;
    public static final int TIMING_MINUTE = 1;
    public static final int TIMING_HOUR = 2;
    public static final int TIMING_DAY = 3;
    public static final int TIMING_WEEK = 4;
    public static final int TIMING_MONTH = 5;
    public static final int TIMING_YEAR = 6;
    public static final int TIMING_STOP = 6;
    // 代码集上传字段标识定义
    public static final Byte CODESET_TYPE_0 = 0; // 代码集类型 0标准
    public static final Byte CODESET_TYPE_1 = 1; // 代码集类型1自定义
    public static final String CODESET_REQUIRED_FIELDS_MISSING = "必填项未填";
    public static final String CODESET_SAMEDATA_EXISTS_FILE = "文件内部存在相同数据";
    public static final String CODESET_IDENTIFIER_NAME_NOTMATCH_DATABASE = "代码集内部标识符和名称与系统中代码集内部标识符和名称不匹配";
    public static final String CODESETDETAIL_VALUE__DUPLICATE_MAPPING = "代码值对应的代码和系统不一致";
    public static final String CODESET_SAMEDATA_EXISTS_DATABASE = "系统中代码集对应项存在重复";
    public static final String CODESET_DATA_ILLEGAL = "非法数据";
    public static final String EXCEL_TYPE_XLS = "application/vnd.ms-excel"; // 文件类型判断
    public static final String EXCEL_TYPE_CSV = ".csv"; // csv文件类型判断
    public static final String DATAELEMENT_FORMATTYPE_CHAR = "字符型"; // 数据格式格式类型
    public static final String DATAELEMENT_FORMATTYPE_NUMBER = "数值型"; // 数据格式格式类型
    public static final String DATAELEMENT_FORMATTYPE_DATETIME = "日期型和日期时间型"; // 数据格式格式类型
    public static final String DATAELEMENT_FORMATTYPE_TIME = "时间型"; // 数据格式格式类型
    public static final String DATAELEMENT_FORMATTYPE_BOOLEAN = "布尔型"; // 数据格式格式类型
    public static final String DATAELEMENT_FORMATTYPE_TIMESTAMP = "时间戳"; // 数据格式格式类型
    public static final String DATAELEMENT_TYPE_DE = "DE"; // 数据元类型DE表示部标
    public static final String DATAELEMENT_TYPE_DF = "DF"; // 数据元类型DF表示省标
    public static final String DATAELEMENT_TYPE_DG = "ZY"; // 数据元类型DG表示市标
    public static final String DATAELEMENT_TYPE_DH = "DH"; // 数据元类型DH表示自定义
    public static final String DATAELEMENT_TYPE_CODE_1 = "1"; // 数据元类型CODE码1表示部标
    public static final String DATAELEMENT_TYPE_CODE_2 = "2"; // 数据元类型CODE码2表示省标
    public static final String DATAELEMENT_TYPE_CODE_3 = "3"; // 数据元类型CODE码3表示市标
    public static final String DATAELEMENT_TYPE_CODE_4 = "4"; // 数据元类型CODE码4表示自定义
    // 查询当前分类下是否有子分类或者数据库
    public static final String RESULTTYPE_HAS_CHILD_DESC = "当前分类下含有子分类"; // 当前分类下是否有子分类
    public static final String RESULTTYPE_HAS_DB_DESC = "当前分类下含有数据库"; // 当前分类下含有数据库
    public static final String META_TREE_TYPE = "treeType"; // 每个树节点的类型,是数据库分层,数据库,还是表
    public static final String META_TREE_TYPE_LAYERED = "layered"; // 树节点的类型是数据库分层
    public static final String META_TREE_TYPE_DATABASE = "database"; // 树节点的类型是数据库
    public static final String META_TREE_TYPE_TABLE = "table"; // 树节点的类型是表
    public static final String META_TREE_TYPE_VIEW = "view"; // 树节点的类型是视图
    public static final String META_TREE_TYPE_SCHEMA = "schema"; // 树节点的类型是schema
    public static final String META_TREE_ID = "treeId"; // 树节点Id
    // 数据库DDL语句标识
    public static final String SQL_ALERT_TABLE = "sqlAlertTable"; // 操作时修改表信息
    public static final String SQL_ALERT_TABLE_ADD_COLUMN = "sqlAlertTableAddColumn";// 增加字段信息
    public static final String SQL_ALERT_TABLE_MODIFY_COLUMN = "sqlAlertTableModifyColumn";// 修改字段信息
    public static final String SQL_ALERT_TABLE_DROP_COLUMN = "sqlAlertTableDropColumn";// 删除字段信息
    // 定义表头和数据
    public static final String TABLE_HEAD = "tableHead";// 表头
    public static final String TABLE_DATA_LIST = "tableDataList";// 表数据
    public static final String TABLE_HEAD_ALIAS = "tableHeadAlias";// 字段别名
    public static final String TABLE_DATA_TOTAL_COUNT = "tableDataTotalCount";// 表数据
    public static final String TABLE_DATA_FROM_CACHE = "table_data_from_cache";// 表数据是否是缓存数据
    public static final String TABLE_NEW_HEAD = "tableNewHead";// 表头
    public static final Integer TABLE_DATA_DEFAULT_SIZE = 1000;// 默认取1000条数据
    public static final Integer DEFAULT_COL_LENGTH = 50;
    public static final String TRUE = "TRUE";
    public static final String FALSE = "FALSE";
    //查新当前分类下是否含有工作流、普通文件夹后者表任务
    public static final String HAS_CHILD_DESC = "当前分类下含有子分类"; //当前分类下含有子分类
    public static final String HAS_WORKFLOW_DESC = "当前分类下含有工作流"; //当前分类下含有工作流
    public static final String HAS_FOLDER_DESC = "当前分类下含有文件夹"; //当前分类下含有文件夹
    public static final String HAS_JOB_DESC = "当前分类下含有表任务"; //当前分类下含有表任务
    public static final String DEVELOP_TREE_TYPE = "treeType"; // 每个树节点的类型,是工作流、文件夹还是表任务
    public static final String DEVELOP_TREE_TYPE_FOLDER = "folder"; // 树节点的类型是文件夹
    public static final String DEVELOP_TREE_TYPE_WORKFLOW = "workflow"; // 树节点的类型是工作流
    public static final String DEVELOP_TREE_TYPE_JOB = "job"; // 树节点的类型是表任务
    public static final String DEVELOP_TREE_TYPE_CHINESE = "节点类型"; // 每个树节点的类型,是工作流、文件夹还是表任务
    public static final String DEVELOP_TREE_TYPE_FOLDER_CHINESE = "文件夹"; // 树节点的类型是文件夹
    public static final String DEVELOP_TREE_TYPE_WORKFLOW_CHINESE = "工作流"; // 树节点的类型是工作流
    public static final String DEVELOP_TREE_TYPE_JOB_CHINESE = "离线任务"; // 树节点的类型是表任务
    public static final String DEVELOP_TREE_ID = "treeId"; // 树节点Id
    public static final String JOB_TYPE = "jobType"; //任务类型
    public static final String SQL = "sql"; //任务类型为hivesql
    public static final String DATA_SYNCHRONIZATION = "同步任务"; //任务类型为同步任务
    public static final Byte DEV_TIMING_STOP = 0; //不需要定时
    public static final String DEV_JOB_TYPE_SQL = "数据开发的sql任务";
    public static final String FLOW_SUBMITTED = "submittedFlow"; //提交工作流前缀
    public static final String FLOW_SUBMITTED_REPAIR = "submittedFlowRepair"; //提交异常中断工作流前缀
    public static final String FLOW_CANNOT_SUBMIT = "调度配置未开启，工作流无法提交执行";
    public static final String FLOW_STOP = "调度配置未开启，工作流调度已停止";
    public static final Integer FOLDER_LEVELS_LIMIT_5 = 5; //文件夹连续层级数量限制为5层
    public static final String SAVE_FLOW_SUCESSFULLY = "工作流保存成功"; //工作流保存成功
    public static final String FLOW_MESSAGE_CANNOT_CHANGE = "工作流已提交，任务节点位置和依赖关系无法更改";
    public static final Integer CANNOT_CREATE_NEW_JOB = -1; //新建任务失败
    public static final String JOB_CANNOT_CREATE = "该工作流已提交，无法新建任务";
    public static final String FLOW_UP_FAIL = "flow_up_fail"; //工作流上游异常redis前缀
    public static final String FLOW_WAIT_TIMEOUT = "flow_wait_timeout"; //工作流等待异常redis前缀
    public static final Integer PASS = 0; //执行成
    public static final Integer CANNOT_DELETE_JOB = -1; //删除任务失败
    public static final String JOB_CANNOT_DELETE = "该工作流已提交，无法删除任务";
    public static final String JOB_CANNOT_CLONE = "目标工作流已提交，无法增加新任务";
    public static final String NAME_REPEAT = "1"; //名称重复
    public static final String NAME_NOT_REPEAT = "0"; //名称不重复
    public static final String THE_NAME_REPEAT = "名称重复";
    public static final String THE_NAME_NOT_REPEAT = "名称不重复";
    public static final String PROJECT_ALREADY_EXISTS = "Project already exists"; //项目已存在
    public static final String FLOW_TEST_RUN_REDIS_PREFIX = "FlowTest"; //工作流试运行redis前缀
    public static final String FLOW_NOT_STAR = "flow_not_start"; //工作流未开始执行的flowId前缀
    public static final String FLOW_START_TIME_REDIS_PREFIX = "flow_start_time"; //工作流开始执行的时间前缀
    public static final String URL_REP = "#URL#";
    public static final String SJXRSJ = "sjxrsj";
    public static final String FQ_DAY_KETTLE = "fq_day_kettle";
    public static final String MODLE_NAME = "DaQtyInspection";
    public static final String JOB_EXECUTION_LOG_KEY = "jobExecutionLogKey";
    public static final Byte INSEPCTION_TYPE_FETCH = 0;
    public static final Byte INSEPCTION_TYPE_STORE = 1;
    //样例数据采集方式(0全量1增量)
    public static final Byte DATA_ALL = 0;
    public static final Byte DATA_PART = 1;
    //样例数据采集方式(0全量1增量)
    public static final Byte RANDOM_RULE = 0;
    public static final Byte CUSTOMIZE_RULE = 1;
    //单位类型(0秒1分钟2小时3天)
    public static final byte TIME_TYPE_SECONDE = 0;
    public static final byte TIME_TYPE_MINUTE = 1;
    public static final byte TIME_TYPE_HOUR = 2;
    public static final byte TIME_TYPE_DAY = 3;
    //规则类型(0业务合理性 1有效性 2正确性3完整性4唯一性)
    public static final byte RULE_TYPE_0 = 0;
    public static final byte RULE_TYPE_1 = 1;
    public static final byte RULE_TYPE_2 = 2;
    public static final byte RULE_TYPE_3 = 3;
    public static final byte RULE_TYPE_4 = 4;
    // azkaban回调接口的状态
    // queued,killed,started, failed, succeeded"
    public static final String AZKABAN_STATUS_QUEUED = "queued";
    public static final String AZKABAN_STATUS_KILLED = "killed";
    public static final String AZKABAN_STATUS_STARTED = "started";
    public static final String AZKABAN_STATUS_FAILED = "failed";
    public static final String AZKABAN_STATUS_SUCCEEDED = "succeeded";
    //数据开发任务类型
    public static final String JOB_TYPE_SYNC_1 = "1"; //同步任务
    public static final String JOB_TYPE_SQL_2 = "2"; //hivesql
    public static final String JOB_TYPE_SHELL_3 = "5"; //shell
    public static final String JOB_TYPE_PYTHON_4 = "6"; //python
    public static final String JOB_TYPE_SPARKSQL_5 = "7"; //sparksql
    public static final String JOB_TYPE_ES_11 = "11"; //ES同步任务
    public static final String JOB_TYPE_PGSQL_12 = "12"; //pgsql
    public static final String JOB_TYPE_PYTHON_RT_1 = "1"; //python实时任务
    public static final String JOB_TYPE_PYSPARK_8 = "8"; //pyspark实时任务
    public static final String JOB_TYPE_SYNC_RT_9 = "9"; //实时同步任务
    public static final String JOB_TYPE_CLICKHOUSE_13 = "13"; //clickhouse sql
    public static final String JOB_TYPE_KAFKA2ES_14 = "14"; //kafka2es
    public static final String JOB_TYPE_KAFKA2HIVE_15 = "15"; //kafka2hive
    public static final String JOB_TYPE_API_16 = "16"; //API数据接入
    //存储hivesql执行log检核模块
    public static final String INSPECTION_LOG_MODLE = "log:inspection";
    // 存储开发平台hivesql日志(前缀)
    public static final String DADEV_HIVESQL_LOG_MODLE = "log:dadev_hivesql";
    // 存储开发平台dataread日志(前缀)
    public static final String DADEV_DATAREAD_LOG_MODLE = "log:dadev_dataread";
    // 存贮开发平台临时运行日志使用
    public static final String DADEV_DATAREAD_LOG_MODLE_TEMP = "log:dadev_dataread_temp";
    // 存储开发平台sparksql日志(前缀)
    public static final String DADEV_SPARKSQL_LOG_MODLE = "log:dadev_sparksql";
    // 存储开发平台python日志(前缀)
    public static final String DADEV_PYTHON_LOG_MODLE = "log:dadev_python";
    // 存储开发平台shell日志(前缀)
    public static final String DADEV_SHELL_LOG_MODLE = "log:dadev_shell";
    // 存贮数据接入日志使用
    public static final String DATAREAD_LOG_MODLE = "log:data_access";
    // 存贮数据接入日志使用
    public static final String DADEV_HIVE_ES_LOG_MODLE = "log:dadev_hive2es";
    // 存贮API数据接入日志使用
    public static final String DADEV_API_LOG_MODLE = "log:dadev_api";
    //日志存到redie超时时间
    public static final Long REDIS_LOG_EXPIRE_TIME = 60 * 60 * 24L;
    // azkabanJobflow提交前缀(job名为前缀+id)(hivesql类型)
    public static final String FLOW_JOB_NANME_HIVESQL = "hivesql-";
    // azkabanJobflow提交前缀(job名为前缀+id)(数据读取类型)
    public static final String FLOW_JOB_NANME_DATAREAD = "dataread-";
    // 定义一个数据开发平台flow的名字(前缀+flow提交id)
    public static final String FLOW_NANME_DADEV = "dadevflow-";
    public static final String FLOW_NANME_DADEV_REPAIR = "dadevflowrepair-";
    // 定义一个数据开发平台flow的名字(前缀+flow提交id)
    public static final String RESULT_FAILED = "failed";
    // 定义一个数据开发平台flow的名字(前缀+flow提交id)
    public static final String RESULT_SUCCESS = "success";
    // 定义一个数据开发平台flow的名字(前缀+flow提交id)
    public static final String RESULT_RUNNING = "running";
    // 工作流下任务试运行
    public static final String FLOW_TEST_RUN_TRUE = "true";
    // 工作流下任务正式运行
    public static final String FLOW_FORMAL_RUN_FALSE = "false";
    //数据开发azkaban新建项目前缀
    public static final String PROJECT_NAME_PREFIX = "DaDevFlow-";
    //azkaban新建测试项目前缀
    public static final String TEST_PROJECT_NAME_PREFIX = "TestDaDevFlow-";
    //azkaban新建测试项目flow前缀
    public static final String TEST_PROJECT_FLOW_PREFIX = "TestRunFlow-";
    // 探查停止hive执行sql前缀
    public static final String EXPLORATE_PREFIX = "explorate_";
    // 质量检核停止hive执行sql前缀
    public static final String INSPECTION_PREFIX = "inspection_";
    // 探查模块hash key
    public static final String EXPLORATE_MODEL_PREFIX = "EXPLORATE_MODEL";
    // 质量检核模块hash key
    public static final String INSPECTIOIN_MODEL_PREFIX = "INSPECTIOIN_MODEL";
    // 数据对标字典表上次更新时间记录key
    public static final String DATA_BENCHMARKING_DICT_UPDATE_TIME = "DATA_BENCHMARKING_DICT_UPDATE_TIME_";
    // 数据对标字典表记录key
    public static final String DATA_BENCHMARKING_DICT_CONTENT = "DATA_BENCHMARKING_DICT_CONTENT_";
    //字段对标字典关系配置模式:列表
    public static final String COLUMN_BENCHMARKING_DICT_MODEL_TABLE = "table";
    //字段对标字典关系配置模式:连线
    public static final String COLUMN_BENCHMARKING_DICT_MODEL_LINE = "line";
    //字段对标字典关系配置模式阈值 小于等于50时，默认为连线模式  大于50条，则默认为列表操作模式
    public static final Integer COLUMN_BENCHMARKING_DICT_MODEL_RECORD_NUM = 50;

    // 异常任务列表缓存
    public static final String DA_DF_ERROR_JOB_LIST = "DA_DF_ERROR_JOB_LIST";
    //<editor-fold desc="标准数据innerIdhead固定key值">
    // 标准数据innerIdhead固定key值
    public static final String DETERMINER_HEAD_KEY = "determiner-限定词";
    public static final String DETERMINER_TEMP_HEAD_KEY = "determiner-非标准限定词";
    public static final String DATAELEMENT_DE_HEAD_KEY = "dataelement-部标";
    public static final String DATAELEMENT_DF_HEAD_KEY = "dataelement-省标";
    public static final String DATAELEMENT_DG_HEAD_KEY = "dataelement-市标";
    public static final String DATAELEMENT_DH_HEAD_KEY = "dataelement-自定义";
    public static final String CODE_SET_DM_HEAD_KEY = "code_set-代码集";
    public static final String UPLOAD_FILE_NOTEXISTS = "只能提交jar文件！";
    //</editor-fold>
    public static final String UPLOAD_FILE_RUL_EXISTS = "当前文件路径不正确，请修改后重新提交！";
    public static final String UPLOAD_FILE_DELETE = "只能删除.jar文件";
    public static final String UPLOAD_FILE_OK_DELETE = "删除文件成功！";
    public static final String UPLOAD_FILE_FAIL_DELETE = "删除文件失败！";
    public static final String UPLOAD_FILE_REGISTER_FAIL = "1";
    public static final String UPLOAD_FILE_REGISTER_FAIL_MESSAGE = "注册失败！";
    public static final String UPLOAD_FILE_REGISTER_SUCC = "0";
    public static final String UPLOAD_FILE_REGISTER_SUCC_MESSAGE = "注册成功！";
    public static final String UPLOAD_FILE_SAVE_SUCC_MESSAGE = "保存成功！";
    //数据碰撞 检索条件
    //条件匹配方式 全部条件
    public static final Boolean MATCH_TYPE_AND = Boolean.TRUE;
    //条件匹配方式 只满足一个条件
    public static final Boolean MATCH_TYPE_OR = Boolean.FALSE;
    public static final String WHERE_TYPE_EXACT = "false";
    //whereType条件检索项 0精确/等于 1模糊 2范围/包含 3空值 4大于 5小于
    public static final byte WHERE_TYPE_PRECISE = 0;
    public static final byte WHERE_TYPE_DIM = 1;
    public static final byte WHERE_TYPE_SCOPE = 2;
    public static final byte WHERE_TYPE_NULL = 3;
    public static final byte WHERE_TYPE_GT = 4;
    public static final byte WHERE_TYPE_LT = 5;
    //元素类型(0数据类型1输出元素2算子 并3算子 交4算子 差)
    //表元素
    public static final Byte DA_CO_ELE_TYPE_TABLE = 0;
    //输出元素
    public static final Byte DA_CO_ELE_TYPE_OUTPUT = 1;
    //算子并
    public static final Byte DA_CO_ELE_TYPE_UNION = 2;
    //文件数据
    public static final Byte DA_CO_ELE_TYPE_FILE = 5;
    //算子交
    public static final Byte DA_CO_ELE_TYPE_INTRERSECTION = 3;
    //算子差
    public static final Byte DA_CO_ELE_TYPE_DIFFERENCE = 6;
    //元素内容类型
    // 0元数据表的内容，1上传表的内容，2输出的内容，3算子的内容
    public static final byte DA_CO_ELE_CONTENT_TYPE_TABLE = 0;
    public static final byte DA_CO_ELE_CONTENT_TYPE_UPTABLE = 1;
    public static final byte DA_CO_ELE_CONTENT_TYPE_OUTPUT = 2;
    public static final byte DA_CO_ELE_CONTENT_TYPE_OPERATOR = 3;
    //数据碰撞任务task 状态 (0待执行,1执行中,2执行成功,3执行失败,4执行中止)
    public static final byte DA_CO_TASK_STATUS_TO_EXECUTE = 0;
    public static final byte DA_CO_TASK_STATUS_EXECUTING = 1;
    public static final byte DA_CO_TASK_STATUS_EXECUTE_SUCCESS = 2;
    public static final byte DA_CO_TASK_STATUS_EXECUTE_FAIL = 3;
    public static final byte DA_CO_TASK_STATUS_EXECUTE_SUSPEND = 4;
    //数据碰撞运行模式
    public static final Integer RUN_MODE_0 = 0;//自动
    public static final Integer RUN_MODE_1 = 1;//手动
    public static final String TASK_NOT_RUN = "未启动";
    public static final String TASK_RUNNING = "执行中";
    public static final String TASK_RUN_FAILURE = "执行异常";
    public static final String TASK_RUN_SUCCESS = "执行完成";
    public static final String TASK_RUN_STOP = "执行停止";
    public static final String JOB_NOT_SCHEDULE = "未调度";
    public static final String JOB_SCHEDULING = "调度中";
    public static final String JOB_SCHEDULE_SUCCESS = "调度完成";
    public static final String JOB_SCHEDULE_STOP = "调度停止";
    //左右
    public static final byte IS_SRC = 0;
    public static final byte IS_TAR = 1;
    // AZKABAN project Name Head
    public static final String DA_DF_AZK_HEAD = "DaDfJob-";
    public static final String DA_CO_AZK_HEAD = "DaCoJob-";
    public static final String TABLE_NAME = "____TABLE_NAME____";
    //离线数据审批状态
    public static final byte META_OFFLINE_DATA_APPROVE_STATUS_1 = 1; //审批中
    public static final byte META_OFFLINE_DATA_APPROVE_STATUS_2 = 2; //审批通过
    public static final byte META_OFFLINE_DATA_APPROVE_STATUS_3 = 3; //审批驳回
    //离线数据源状态
    public static final Byte META_OFFLINE_DATA_USED = 1; //启用
    public static final Byte META_OFFLINE_DATA_NOT_USED = 2; //禁用
    //离线数据上传状态
    public static final byte META_OFFLINE_DATA_UPLOADING = 1; //上传中
    public static final byte META_OFFLINE_DATA_UPLOAD_FAIL = 2; //上传失败
    public static final byte META_OFFLINE_DATA_UPLOAD_SUCCESS = 3; //上传成功
    //离线数据上传
    public static final String UPLOAD_FAIL = "文件上传失败"; //离线数据上传失败
    public static final String APPLY_TYPE = "离线上传数据启用申请"; //申请类型
    public static final String NOT_APPROVE = "0";
    public static final String APPROVED = "1";
    //excel文件存储到redis的key值前缀
    public static final String META_EXCEL_REDIS_PREFIX = "metaExcel";
    //excel文件数据量存储到redis的key值前缀
    public static final String META_EXCEL_ROWNUMS_PREFIX = "metaRow";
    //excel文件后缀
    public static final String EXCEL_XLS_SUFFIX = "xls"; //xls
    public static final String EXCEL_XLSX_SUFFIX = "xlsx"; //xlsx
    public static final String EXCEL_CSV_SUFFIX = "csv"; //csv
    //离线数据导入
    public static final Byte META_OFFLINE_DATA_IMPORTING = 1; //导入中
    public static final Byte META_OFFLINE_DATA_IMPORT_FINISH = 2; //导入完成
    public static final Byte META_OFFLINE_DATA_IMPORT_FAIL = 3; //导入失败
    //离线数据启用申请
    public static final Byte META_DATA_START_USE_APPROVE = 1;
    //覆盖 追加
    public static final byte COVER = 0;
    public static final byte ADDTION = 1;
    //oracle 连接模式
    public static final String CONNECTION_MODE_0 = "0";
    public static final String CONNECTION_MODE_1 = "1";
    /**
     * token过期时间（毫秒）
     */
    public static final long SYS_JWT_EXPIRE_TIME = 24 * 60 * 60 * 1000L;
    /**
     * 数据库名称 : ORACLE, MYSQL, POSTGRESQL
     **/
    public static final String DATEBASE_NAME = "POSTGRESQL";
    /**
     * 元数据管理组织分类 移动树结构 节点信息
     */
    public static final String NODE_INFO_UPDATE_PERSON = "updatePerson"; //节点信息更新人
    public static final String NODE_INFO_UPDATE_PERSON_ID = "updatePersonId"; //节点信息更新人ID
    public static final String NODE_INFO_PARENT_ID = "parentId"; //节点信息父ID
    public static final String NODE_INFO_CURRENT_ID = "currentId"; //节点信息当前ID
    public static final String NODE_INFO_NEXT_ID = "nextId"; //节点信息下一节点ID
    /**
     * 元数据管理组织分类 子分类信息
     */
    public static final String NODE_INFO_CODE = "code"; //节点信息CODE
    public static final String NODE_INFO_RESULT = "result"; //节点信息result
    public static final String HIVE2ES_RUNNING = "1";
    public static final String HIVE2ES_FINISHED = "2";
    public static final String HIVE2ES_FAILED = "3";
    public static final String HIVE2ES_STOPPED = "4";
    // 自动生成ES任务
    public static final String ES_ROOT_FOLDER_NAME = "自动ES同步任务";
    public static final String FLOW_ES_NAME = "ES同步"; //工作流名称字段
    public static final String ES_FLOW_REMARK = "这是数据资源启用后自动创建的ES同步工作流"; //工作流描述
    public static final String ES_JOB_REMARK = "这是数据资源启用后自动创建的ES同步任务"; //任务描述
    public static final String DEFAULT_INCREMENT_FIELD = "fq_day"; //默认增量字段
    /**
     * 资源更新方式代码-值
     */
    public static final String UPDATE_TYPE_CODE_REALTIME_UPDATE = "1";
    public static final String UPDATE_TYPE_CODE_NOT_UPDATE = "2";
    public static final String UPDATE_TYPE_CODE_NON_SCHEDULED_UPDATE = "3";
    public static final String UPDATE_TYPE_CODE_REGULAR_UPDATE = "4";
    public static final String REALTIME_UPDATE = "实时";
    public static final String NOT_UPDATE = "不更新"; //资源更新周期为“不更新”
    public static final String NON_SCHEDULED_UPDATE = "不定期更新";
    public static final String REGULAR_UPDATE = "定期更新";
    public static final Integer ES_REPEAT_HOUR = 7;
    public static final Integer ES_REPEAT_MINUTE = 1;
    public static final Integer ES_REPEAT_SECOND = 1;
    public static final String ORIGINAL_CODE = "01"; //原始库code
    public static final String FLOW_SUBMITTED_VERSION = "v1"; //工作流第一次提交版本号
    public static final String ES_SUFFIX_DF = "_df"; //es同步任务，表名后缀df
    public static final String ES_SUFFIX_DD = "_dd";
    public static final String ES_SUFFIX_DS = "_ds";
    public static final String SUFFIX_TYPE_SYSTEM_PARAMS = "${format(\"xlDate\",\"yyyyMMdd\")}";
    public static final String SUFFIX_TYPE_TABLE_FIELD = "${xl.tc.field}"; //field需要替换成具体的字段
    public static final String ES_TABLE_FIELD_DS = "indextime"; //表名后缀为ds时，取的源头表字段indextime
    public static final String ES_INDEX_SHELL_SUFFIX = "shell任务";

    public static final String API_RESULT_ERROR_INDEX_NAME = "api_result_error"; //API响应结果存储错误表ES index
    //更新频率
    public static final String UPDATE_FREQUENCY_YEAR = "7";
    public static final String UPDATE_FREQUENCY_SEASON = "6";
    public static final String UPDATE_FREQUENCY_MONTH = "5";
    public static final String UPDATE_FREQUENCY_WEEK = "4";
    public static final String UPDATE_FREQUENCY_DAY = "3";
    public static final String UPDATE_FREQUENCY_HOUR = "2";
    public static final String UPDATE_FREQUENCY_MINUTE = "1";

    public static final String UPDATE_FREQUENCY_YEAR_NAME = "年";
    public static final String UPDATE_FREQUENCY_SEASON_NAME = "季";
    public static final String UPDATE_FREQUENCY_MONTH_NAME = "月";
    public static final String UPDATE_FREQUENCY_WEEK_NAME = "周";
    public static final String UPDATE_FREQUENCY_DAY_NAME = "天";
    public static final String UPDATE_FREQUENCY_HOUR_NAME = "时";
    public static final String UPDATE_FREQUENCY_MINUTE_NAME = "分";
    //pgsql
    public static final String DATABASE_POSTGRESQL = "Postgres"; //postgresql
    public static final String DATABASE_HIVE = "Hive"; //hivesql
    public static final String STOP_MESSAGE = "取消"; //错误信息
    public static final String STATEMENT_MESSAGE = "关闭"; //错误信息
    //数据开发自定义参数
    public static final String PARAMS_REDIS_PREFIX = "customParams"; //工作流自定义参数存入Redis前缀
    public static final String PARAMS_REDIS_OFFLINE_PREFIX = "offLineJob"; //离线任务自定义参数存入Redis前缀
    public static final String PARAMS_REDIS_REALTIME_PREFIX = "realTimeJob"; //实时任务自定义参数存入Redis前缀
    public static final String PARAMS_OFFLINE = "1"; //离线任务
    public static final String PARAMS_REALTIME = "2"; //实时任务
    public static final String PARAMS_FLOW = "3"; //工作流
    public static final String SYSTEM_PARAM = "systemParam"; //系统参数
    public static final String CUSTOM_PARAM = "customParam"; //自定义参数
    public static final String TABLE_FIELD = "tableField"; //源头表字段
    // udf
    public static final byte UDF_TYPE_1 = 1;
    public static final byte UDF_TYPE_2 = 2;
    public static final byte UDF_REGISTER_STATUS_0 = 0; // 未注册
    public static final byte UDF_REGISTER_STATUS_1 = 1; // 已经注册
    public static final byte UDF_REGISTER_STATUS_2 = 2; // 注册失败
    public static final String UDF_SQL_NAME = "name";
    public static final String UDF_SQL_ALIAS = "alias";
    public static final String UDF_SQL_FORMAT = "format";
    public static final String UDF_SQL_INPUT = "input";
    public static final String UDF_SQL_OUTPUT = "output";
    public static final String UDF_SQL_DESCRIPTION = "description";
    public static final String UDF_SQL_EXAMPLE = "example";
    //数据服务资源目录
    public static final String DS_IDENTIFY_PREFIX = "R"; //服务规约标识符前缀
    public static final String DS_LAGNUAGE_DESC = "languageDesc"; //服务描述语言字典表类型
    public static final String DS_LABEL_ONE = "dataResourceLabelOne"; //数据资源标签1
    public static final String DS_LABEL_TWO = "dataResourceLabelTwo"; //数据资源标签2
    public static final String DS_LABEL_THREE = "dataResourceLabelThree"; //数据资源标签3
    public static final String DS_LABEL_FOUR = "dataResourceLabelFour"; //数据资源标签4
    //任务提交状态
    public static final String JOB_NOT_SUBMIT = "1"; // 未提交
    public static final String JOB_SUBMIT_NOT_SAVE = "2"; // 新内容保存未提交
    public static final String JOB_SUBMITTED = "3"; // 已提交
    // 消息中心
    public static final byte MM_MESSAGE_OPER_STATUS_0 = 0; // 不需要处理
    public static final byte MM_MESSAGE_OPER_STATUS_1 = 1; // 1已处理
    public static final byte MM_MESSAGE_OPER_STATUS_2 = 2; // 2未处理
    public static final String MM_MESSAGE_TYPE_1 = "1"; // 1申请消息
    public static final String MM_MESSAGE_TYPE_2 = "2"; // 2审批结果
    public static final String MM_MESSAGE_SIGN_UP_0 = "0"; // 0 或签
    public static final String MM_MESSAGE_SIGN_UP_1 = "1"; // 1 会签
    //分级分类授权
    public static final String AUTHORIZATION_TYPE = "authType"; //授权方式字段
    public static final String AUTH_TYPE_GETWAY = "1"; //数据获取方式授权
    public static final String AUTH_TYPE_COLTYPE = "2"; //字段分类授权
    public static final String AUTH_TYPE_SENSITYTYPE = "3"; //字段敏感度授权
    public static final String CLS_COL_TYPE = "clsColType";
    public static final String CLS_SENSITIVITY_TYPE = "clsSensityType";
    public static final Integer DEFAULT_GET_WAY_ID = 3;
    //自动生成python任务
    public static final String REALTIME_ES_ROOT_FOLDER = "自动ES实时同步任务";
    public static final String REALTIME_FLOW_ES_NAME = "实时ES同步"; //工作流名称字段
    public static final String REALTIME_ES_JOB_REMARK = "这是数据资源启用后自动创建的实时ES同步任务";
    public static final String AUTO_REALTIME_ROOT_FOLDER = "自动标准化实时任务";
    public static final String AUTO_REALTIME_SECOND_FOLDER = "-实时治理任务集";
    public static final String REALTIME_GOVERNANCE = "实时治理";
    public static final String DATA_FETCH = "-缓冲数据同步";
    public static final String AUTO_FETCH_JOB_REMARK = "自动标准化任务创建的topic缓冲库数据同步";
    public static final String STD_DATA_BACKUP = "-标准数据备份";
    public static final String AUTO_REALTIME_JOB_PREFFIX = "自动标准化任务创建的";
    public static final String DATA_BACKUP_JOB_REMARK_SUFFIX = "标准数据备份任务";
    public static final String AUTO_REALTIME_FLOW_ROOT_FOLDER = "自动标准化实时治理工作流";
    public static final String REMOVE_DUPLICATE_JOB_SUFFIX = "实时治理去重任务";
    public static final String REMOVE_DUPLICATE_REMARK_SUFFIX = "中创建的数据去重任务";

    public static final String ELEMENT_ID = "elementId";
    public static final String RESULT_TABLE_DATA = "resultTableData";
    public static final String COL_NAME = "col_name";
    public static final String LOG_STR = "log";
    //任务执行进度信息
    public static final String DA_CO_JOB_TASK_PROCESS = "daCoJobTaskProcess";
    //es里面保存的格式
    public static final String ES_SAVE_FORMAT = "d14";
    //数据对账
    //对账成功且已销账
    public static final Byte RECONCILIATION_STATUS_5 = 5;
    //设备治理
    public static final String DEVICE_CHECKED = "1"; //考核中
    public static final String DEVICE_UNCHECKED = "0"; //未考核
    public static final String DEVICE_REGULAR = "1"; //合规
    public static final String DEVICE_UNREGULAR = "0"; //不合规
    public static final String NATION_PLACE_CODE = "000000"; //全国的行政区划代码
    public static final String DEVICE_USING = "1"; //在用中
    public static final Integer TARGET_ACCURACY = 100; //目标填报准确率
    public static final String FUNCTION_TYPE = "1";
    public static final String POSITION_TYPE = "2";
    public static final String FUNCTION_TYPE_NAME = "functionType";
    public static final String POSITION_TYPE_NAME = "positionType";
    public static final String DEVICE_MANUAL_CORRECTION = "1"; //人工修正
    public static final String DEVICE_NOT_MANUAL_CORRECTION = "0"; //未人工修正
    public static final String SYSTEM_LEVEL_PROVINCE = "P";
    public static final String SYSTEM_LEVEL_CITY = "C";
    public static final String SYSTEM_LEVEL_TOWN = "T";
    public static final String DEVICE_SHANGHAI = "上海市";
    public static final String DEVICE_BEIJING = "北京市";
    public static final String DEVICE_CHONGQING = "重庆市";
    public static final String DEVICE_TIANJING = "天津市";
    public static final String DEVICE_REDIS_KEY = "xzk_device_basic_info";
    public static final String GOVERNANCE_REDIS_PREFIX = "dc_governance";
    public static final String CHECK_CONFIG_REDIS_KEY = "t_check_config";
    public static final String PLACE_CODE_OTHER = "其他";
    public static final String DEVICE_NUM_REDIS_KEY = "count_device_type_num";
    public static final String T_CHECK_DATA_TOOL = "t_check_data_tool";
    public static final String DC_CHECK_ITEM_CONFIG_REDIS_KEY = "dc_t_check_item_config";
    public static final String DEVICE_MONTH = "1";
    public static final String DEVICE_DAY = "2";
    public static final String DEVICE_ORIGIN_DATA = "1";
    public static final String DEVICE_CHECKED_DATA = "2";
    //应用服务资源
    public static final String DG_DR_APPLY_TYPE_REQUEST = "资源申请";
    public static final String DG_DR_APPLY_TYPE_REQUEST_ON = "启用申请";
    public static final String DG_DR_APPLY_TYPE_REQUEST_OFF = "停用申请";
    //申请类型  启用停用申请
    public static final String DG_DR_APPLY_TYPE_NUM_REQUEST_ON_AND_OFF = "0";
    //申请类型  资源申请
    public static final String DG_DR_APPLY_TYPE_NUM_REQUEST = "1";
    public static final String DG_DR_APPLY_RESULT_APPROVING = "审批中";
    public static final String DG_DR_APPLY_RESULT_OFF_APPROVING = "停用审批中";
    public static final String DG_DR_APPLY_RESULT_CANCEL_APPROVAL = "审批不通过";
    public static final String DG_DR_APPLY_RESULT_OFF_CANCEL_APPROVAL = "停用审批不通过";
    public static final String DG_DR_APPLY_RESULT_END_APPROVAL = "审批通过";
    public static final String DG_DR_APPLY_RESULT_ON = "已启用";
    public static final String DG_DR_APPLY_RESULT_OFF = "已停用";
    public static final String WORK_FLOW_TYPE_START = "START";
    public static final String WORK_FLOW_TYPE_END = "END";
    public static final String WORK_FLOW_TYPE_CANCEL = "CANCEL";
    public static final String WORK_FLOW_TYPE_APPLY = "APPLY";
    public static final String DATASOURCE_FIELD_INDEX_NAME = "indexName";
    public static final String KAFKA_TOPIC_DATA_REDIS_PREFIX = "kafka_topic_data";
    public static final String TABLE_COL_DATA_REDIS_PREFIX = "table_col_data";
    public static final String TABLE_COL_REPORT_REDIS_PREFIX = "table_col_report";
    public static final String APP_ACCESSKEY_REDIS_PREFIX = "app_accessKey";

    public static final String STD_DATA_APPLY_RESULT_APPROVING = "审批中";
    public static final String STD_DATA_APPLY_RESULT_END_APPROVAL = "审批通过";
    public static final String STD_DATA_APPLY_RESULT_CANCEL_APPROVAL = "审批不通过";
    /**
     * 表名后缀
     */
    public static final String TABLE_NAME_SUFFIX_DD = "dd";
    public static final String TABLE_NAME_SUFFIX_DF = "df";
    public static final String TABLE_NAME_SUFFIX_DS = "ds";
    /**
     * 1跳转到数据资源管理详情 2跳转到es任务详情
     */
    public static final String UPDATE_INDEX_MESSAGE_TYPE_RESOURCE = "1";
    public static final String UPDATE_INDEX_MESSAGE_TYPE_ES = "2";
    /**
     * 空间大小单位
     */
    public static final String DISK_SIZE_UNIT_M = "M";
    public static final String DISK_SIZE_UNIT_GB = "GB";
    public static final String DISK_SIZE_UNIT_TB = "TB";
    /**
     * STORAGE_UNIT_VALUE - 数据资源存储周期单位名称(周,月,年,永久)(字典表代码值)
     */
    public static final String STORAGE_UNIT_VALUE_WEEK = "周";
    public static final String STORAGE_UNIT_VALUE_MONTH = "月";
    public static final String STORAGE_UNIT_VALUE_YEAR = "年";
    public static final String STORAGE_UNIT_VALUE_FOREVER = "永久";
    public static final int DEFAULT_MAP_SIZE = 16;
    public static final int DEFAULT_MAP_SIZE_8 = 8;
    public static final int DEFAULT_LIMIT_NUM = 10;
    public static final int DEFAULT_BYTE_SIZE = 1024;
    public static final Integer PLACE_CODE_SPLIT_PROVINCE_LENGTH = 2;
    /**
     * 用户级别：超级管理员
     */
    public static final String SHIRO_USER_LEVEL_ADMIN = "999";
    public static final String BACKUP_FLOW_MODULE_NAME = "BackupFlow";
    public static final String REALTIME_JOB_FAILURE_PREFIX = "realtimeJobFailureCount";
    public static final String REALTIME_JOB_TIME_PREFIX = "realtimeJobTime";
    public static final String JOB_TYPE_REALTIME_SYNC_9 = "9"; //实时同步任务
    /**
     * 请求参数类型（0请求头 1固定参数 2动态参数）；响应参数类型（1固定参数 2动态参数 3自定义参数）
     */
    public static final String PARAM_TYPE_0 = "0";
    public static final String PARAM_TYPE_1 = "1";
    public static final String PARAM_TYPE_2 = "2";
    public static final String PARAM_TYPE_3 = "3";
    /**
     * 请求参数类别（0固定值 1递增值 2认证字段 3字段）； 响应参数类别（3字段 4状态码 5注释 ）
     */
    public static final String PARAM_CATEGORY_0 = "0";
    public static final String PARAM_CATEGORY_1 = "1";
    public static final String PARAM_CATEGORY_2 = "2";
    public static final String PARAM_CATEGORY_3 = "3";
    public static final String PARAM_CATEGORY_4 = "4";
    public static final String PARAM_CATEGORY_5 = "5";
    public static final String PARAM_CATEGORY_6 = "6";
    public static final String PARAM_CATEGORY_7 = "7";
    public static final String PARAM_CATEGORY_VALUE_0 = "固定值";
    public static final String PARAM_CATEGORY_VALUE_1 = "递增值";
    public static final String PARAM_CATEGORY_VALUE_2 = "认证字段";
    public static final String PARAM_CATEGORY_VALUE_3 = "字段";
    public static final String PARAM_CATEGORY_VALUE_4 = "状态码";
    public static final String PARAM_CATEGORY_VALUE_5 = "注释";
    public static final String PARAM_CATEGORY_VALUE_6 = "数据库函数";
    public static final String PARAM_CATEGORY_VALUE_7 = "内置参数";
    public static final String DATA_TYPE_VALUE_0 = "string";
    public static final String DATA_TYPE_VALUE_1 = "int";
    public static final String DATA_TYPE_VALUE_2 = "double";
    public static final String DATA_TYPE_VALUE_3 = "date";
    /**
     * 模板参数标识
     */
    public static final String TEMPLAT_PARAM_VALUE = "${param}";
    public static final String TEMPLAT_PARAM_KEY_VALUE = "param";
    /**
     * 参数位置（0-body 1-url 2-两者都有）
     */
    public static final String PARAM_LOCATION_0 = "0";
    public static final String PARAM_LOCATION_1 = "1";
    public static final String PARAM_LOCATION_2 = "2";
    /**
     * 参数解析路径标识
     */
    public static final String PARSING_PATH_OBJECT = ".";
    public static final String PARSING_PATH_ARRAY = "[]";
    /**
     * 接口运行成功返回代码"200"
     */
    public static final String RETURN_SUCCESS_CODE = "200";

    public static final String RETURN_FAIL_CODE = "6";

    public static final String DATA_RESOURCES = "数据资源";
    public static final String SERVICE_RESOURCES = "服务资源";

    public static final int VALUE_REPORT_SIZE = 10000;
    public static final String DESC = "desc";
    public static final String GET_WAY_TYPE = "0";
    public static final String STORAGE_UNIT_CODE_YEAR = "3";
    public static final String STORAGE_UNIT_CODE_MONTH = "2";
    public static final String STORAGE_UNIT_CODE_WEEK = "1";
    /**
     * 组织分层名标准称：缓冲库
     */
    public static final String RESOURCETYPE_NAME_HCK = "缓冲库";
    /**
     * 组织分层名标准称：原始库
     */
    public static final String RESOURCETYPE_NAME_YSK = "原始库";

    // 类型(数据字典node_type,1文件夹，2工作流，3离线任务)
    public static final String DA_DEV_TREE_TYPE_1 = "1";
    /**
     * 字体大小12
     */
    public static final int FONT_SIZE_12 = 12;

    /**
     * 限定词错误列2
     */
    public static final int ERROR_RELATION_INDEX_2 = 2;

    /**
     * 限定词错误列3
     */
    public static final int ERROR_RELATION_INDEX_3 = 3;


    /**
     * key label
     */
    public static final String KEY_LABEL = "label";

    /**
     * key isStandard
     */
    public static final String KEY_IS_STANDARD = "isStandard";

    /**
     * key isBuiltin
     */
    public static final String KEY_IS_BUILTIN = "isBuiltin";

    public static final String KEY_RULE_ID = "ruleId";

    public static final String KEY_MIRROR_COLUMN = "mirrorColumn";
    public static final String KEY_STANDARD_COLUMN = "standardColumn";

    public static final Integer RESULT_SET_INDEX_1 = 1;

    public static final Integer RESULT_SET_INDEX_2 = 2;
    public static final int DEFAULT_FILENAME_LENGTH = 50;
    public static final String DEFAULT_SCHEMA = "public";
    public static final String[] DATA_FORMAT_TYPES = {"DATE", "TIME", "YEAR", "DATETIME", "TIMESTAMP"};
    public static final int DEFAULT_SCHEMANAME_SPLIT = 2;
    public static final String DATABASE_DATA_TYPE_TINYINT = "TINYINT";
    public static final String DATABASE_DATA_TYPE_SMALLINT = "SMALLINT";
    public static final String DATABASE_DATA_TYPE_MEDIUIMINT = "MEDIUIMINT";
    public static final String DATABASE_DATA_TYPE_INT = "INT";
    public static final String DATABASE_DATA_TYPE_INTEGER = "INTEGER";
    public static final String DATABASE_DATA_TYPE_BIGINT = "BIGINT";
    public static final String DATABASE_DATA_TYPE_FLOAT = "FLOAT";
    public static final String DATABASE_DATA_TYPE_DOUBLE = "DOUBLE";
    public static final String DATABASE_DATA_TYPE_DECIMAL = "DECIMAL";
    public static final String DATABASE_DATA_TYPE_DATE = "DATE";
    public static final String DATABASE_DATA_TYPE_TIME = "TIME";
    public static final String DATABASE_DATA_TYPE_YEAR = "YEAR";
    public static final String DATABASE_DATA_TYPE_DATETIME = "DATETIME";
    public static final String DATABASE_DATA_TYPE_TIMESTAMP = "TIMESTAMP";
    public static final String DATABASE_DATA_TYPE_CHAR = "CHAR";
    public static final String DATABASE_DATA_TYPE_VARCHAR = "VARCHAR";
    public static final String DATABASE_DATA_TYPE_TINYBLOB = "TINYBLOB";
    public static final String DATABASE_DATA_TYPE_TINYTEXT = "TINYTEXT";
    public static final String DATABASE_DATA_TYPE_TEXT = "TEXT";
    public static final String DATABASE_DATA_TYPE_MEDIUMBLOB = "MEDIUMBLOB";
    public static final String DATABASE_DATA_TYPE_MEDIUMTEXT = "MEDIUMTEXT";
    public static final String DATABASE_DATA_TYPE_LONGBLOB = "LONGBLOB";
    public static final String DATABASE_DATA_TYPE_LONGTEXT = "LONGTEXT";
    public static final String DATABASE_DATA_TYPE_NUMERIC = "NUMERIC";
    public static final String DATABASE_DATA_TYPE_REAL = "REAL";
    public static final String DATABASE_DATA_TYPE_DATETIME2 = "DATETIME2";
    public static final String DATABASE_DATA_TYPE_SMALLDATETIME = "SMALLDATETIME";
    public static final String DATABASE_DATA_TYPE_NCHAR = "NCHAR";
    public static final String DATABASE_DATA_TYPE_NVARCHAR = "NVARCHAR";
    public static final String DATABASE_DATA_TYPE_NTEXT = "NTEXT";
    public static final String DATABASE_DATA_TYPE_BINARY = "BINARY";
    public static final String DATABASE_DATA_TYPE_VARBINARY = "VARBINARY";
    public static final String DATABASE_DATA_TYPE_BIT = "BIT";
    public static final String DATABASE_DATA_TYPE_MONEY = "MONEY";
    public static final String DATABASE_DATA_TYPE_UNIQUEIDENTIFIER="uniqueidentifier";
    public static final String DATABASE_DATA_TYPE_BOOLEAN = "BOOLEAN";
    public static final String DATABASE_DATA_TYPE_DOUBLE_PRECISION="DOUBLE PRECISION";
    public static final String DATABASE_DATA_TYPE_SMALLSERIAL = "SMALLSERIAL";
    public static final String DATABASE_DATA_TYPE_SERIAL = "SERIAL";
    public static final String DATABASE_DATA_TYPE_BIGSERIAL = "BIGSERIAL";
    public static final String DATABASE_DATA_TYPE_CHARACTER_VARYING = "CHARACTER VARYING";
    public static final String DATABASE_DATA_TYPE_CHARACTER = "CHARACTER";
    public static final String DATABASE_DATA_TYPE_NUMBER = "NUMBER";
    public static final String DATABASE_DATA_TYPE_BINARY_FLOAT = "BINARY_FLOAT";
    public static final String DATABASE_DATA_TYPE_BINARY_DOUBLE = "BINARY_DOUBLE";
    public static final String DATABASE_DATA_TYPE_VARCHAR2 = "VARCHAR2";
    public static final String DATABASE_DATA_TYPE_NVARCHAR2 = "NVARCHAR2";
    public static final String DATABASE_DATA_TYPE_LONG = "LONG";
    public static final String DATABASE_DATA_TYPE_LONG_RAW="LONG RAW";
    public static final String DATABASE_DATA_TYPE_CLOB = "CLOB";
    public static final String DATABASE_DATA_TYPE_NCLOB = "NCLOB";

    //sql关键字
    public static final String SQL_KEY_SELECT = "select";
    public static final String SQL_KEY_FUNC = "func.";
    public static final String SQL_KEY_COLNAME = "colname";
    public static final String SQL_KEY_COMMENT = "comment";

    //kafka配置项
    public static final String KAFKA_CONFIG_PROTOCOL = "kafka.security.protocol";
    public static final String KAFKA_CONFIG_SASL_MECHANISM = "kafka.sasl.mechanism";
    public static final String KAFKA_CONFIG_SASL_JAAS = "kafka.sasl.jaas.config";

    //时间毫秒
    public static final Long MILLIS_WEEK = 604800000L;

    private Constants() {
    }

}
